package service.user;

import mapper.user.UserMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import pojo.Backenduser;

import javax.annotation.Resource;
@Transactional
@Service("userService")
public class UserServiceImpl implements UserService{
    @Resource
    private UserMapper userMapper;
    public Backenduser getLoginUser(String userCode, String userPassword) {
        return userMapper.getLoginUser(userCode,userPassword);
    }
}
